package com.baohua.model;

import java.util.Date;

/**
 * 订单明细
 * @author Happy Everyday
 *
 */
public class OrderDetails {
	
	private long orderDetailsId;			//订单明细ID
	private String goodsName;				//菜名/商品名称
	private double goodsUnitPrice;			//菜单价
	private double discount;				//折扣比例
	private int amount;						//数量
	private double amountPaid;				//应收金额（折扣后实际）
	private Date accountedTime;				//入账时间
	private double goodsTotalSalesPrice;	//商品总价（单个菜的总价）
	
	private OrderHeader orderHeader;		//订单头信息
	
	private Goods goods;					//菜
	
	public Goods getGoods() {
		return goods;
	}
	public void setGoods(Goods goods) {
		this.goods = goods;
	}
	public OrderHeader getOrderHeader() {
		return orderHeader;
	}
	public void setOrderHeader(OrderHeader orderHeader) {
		this.orderHeader = orderHeader;
	}

	public long getOrderDetailsId() {
		return orderDetailsId;
	}
	public void setOrderDetailsId(long orderDetailsId) {
		this.orderDetailsId = orderDetailsId;
	}
	public String getGoodsName() {
		return goodsName;
	}
	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}
	public double getGoodsUnitPrice() {
		return goodsUnitPrice;
	}
	public void setGoodsUnitPrice(double goodsUnitPrice) {
		this.goodsUnitPrice = goodsUnitPrice;
	}
	public double getDiscount() {
		return discount;
	}
	public void setDiscount(double discount) {
		this.discount = discount;
	}
	public int getAmount() {
		return amount;
	}
	public void setAmount(int amount) {
		this.amount = amount;
	}
	public double getAmountPaid() {
		return amountPaid;
	}
	public void setAmountPaid(double amountPaid) {
		this.amountPaid = amountPaid;
	}
	public Date getAccountedTime() {
		return accountedTime;
	}
	public void setAccountedTime(Date accountedTime) {
		this.accountedTime = accountedTime;
	}
	public double getGoodsTotalSalesPrice() {
		return goodsTotalSalesPrice;
	}
	public void setGoodsTotalSalesPrice(double goodsTotalSalesPrice) {
		this.goodsTotalSalesPrice = goodsTotalSalesPrice;
	}
}
